package com.hm.cms.share.service;

import com.hm.cms.mongo.annotation.RecycleRecordAnnotation;
import com.hm.cms.mongo.domain.def.DbCmsDef;
import com.hm.cms.mongo.vo.CmsArticleContentVo;
import com.hm.common.model.PageInfo;
import com.hm.common.util.CommonDef.OperationRecord;

/**
 * @author shishun.wang
 * @date 下午2:38:12 2016年8月9日
 * @version 1.0
 * @describe
 */
public interface CmsArticleContentService {

	public CmsArticleContentVo getCmsArticleContent(String id);

	@RecycleRecordAnnotation(value = OperationRecord.STANDARD_NEW, documentDef = DbCmsDef.CMS_ARTICLE_CONTENT)
	public String addCmsArticleContent(CmsArticleContentVo articleContentVo, String operationUser);

	@RecycleRecordAnnotation(value = OperationRecord.STANDARD_UPDATE, documentDef = DbCmsDef.CMS_ARTICLE_CONTENT)
	public String updateCmsArticleContent(CmsArticleContentVo articleContentVo, String operationUser);

	@RecycleRecordAnnotation(value = OperationRecord.STANDARD_DELETE, documentDef = DbCmsDef.CMS_ARTICLE_CONTENT)
	public String deleteCmsArticleContent(CmsArticleContentVo articleContentVo, String operationUser);

	public PageInfo<CmsArticleContentVo> queryCmsArticleContent(String weibsite, String column, Integer pageNumber,
			Integer pageSize);

}
